package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.StudentComprehensiveScoreMapper;
import com.ruoyi.system.domain.StudentComprehensiveScore;
import com.ruoyi.system.service.IStudentComprehensiveScoreService;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author ruoyi
 * @date 2024-05-11
 */
@Service
public class StudentComprehensiveScoreServiceImpl implements IStudentComprehensiveScoreService
{
    @Autowired
    private StudentComprehensiveScoreMapper studentComprehensiveScoreMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public StudentComprehensiveScore selectStudentComprehensiveScoreById(Long id)
    {
        return studentComprehensiveScoreMapper.selectStudentComprehensiveScoreById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param studentComprehensiveScore 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<StudentComprehensiveScore> selectStudentComprehensiveScoreList(StudentComprehensiveScore studentComprehensiveScore)
    {
        return studentComprehensiveScoreMapper.selectStudentComprehensiveScoreList(studentComprehensiveScore);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param studentComprehensiveScore 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertStudentComprehensiveScore(StudentComprehensiveScore studentComprehensiveScore)
    {
        return studentComprehensiveScoreMapper.insertStudentComprehensiveScore(studentComprehensiveScore);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param studentComprehensiveScore 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateStudentComprehensiveScore(StudentComprehensiveScore studentComprehensiveScore)
    {
        return studentComprehensiveScoreMapper.updateStudentComprehensiveScore(studentComprehensiveScore);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteStudentComprehensiveScoreByIds(Long[] ids)
    {
        return studentComprehensiveScoreMapper.deleteStudentComprehensiveScoreByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteStudentComprehensiveScoreById(Long id)
    {
        return studentComprehensiveScoreMapper.deleteStudentComprehensiveScoreById(id);
    }
}
